package com.app.shortvideo.net.base

//"version": "2.0.1",
//"alert_area": "1.0.0,2.0.0",
//"type": 1,
//"frequency": 1,
//"title": "testjet",
//"download_url": "testkkkk",
//"status": 2
class VersionInfo{
    var version: String? = null
    var alert_area: String? = null
    var type: Int? = 1//更新类型:1-常规 2-强更
    var frequency: Int? = 1//app更新更新频率: 1-仅1次 2-每天1次
    var title: String? = null
    var remark: String? = null//更新描述
    var download_url: String? = null//下载地址
    var status: Int? = 1//'启用状态:1-未启用 2-启用
    fun isMastUpdate():Boolean{
        return type==2
    }
}
